package com.newly.common.mapper.business;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.newly.common.base.entity.business.Po.Media;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @anthor sbq
 * @date 2021/11/8 15:09
 */
public interface MediaMapper extends BaseMapper<Media> {

    /**
     * 批量保存media
     * @param medias
     * @return
     */
    int saveBatchMedia(@Param("medias") List<Media> medias);

}